package functii.trigonometrice;

import functii.Functie;

public class Ctg extends Functie{

    public static String concatTermens(String aux1){
        String aux;
        int nrP;

        nrP = aux1.charAt(0) == '(' ? 0 : 2;

        aux = "ctg";
        if(nrP != 0) aux += "(";
        aux += aux1;
        if(nrP != 0) aux += ")";

        return aux;
    }
    
    public String concatTermeni(String aux1){
        String aux;
        int nrP;

        nrP = aux1.charAt(0) == '(' ? 0 : 2;

        aux = "ctg";
        if(nrP != 0) aux += "(";
        aux += aux1;
        if(nrP != 0) aux += ")";

        return aux;
    }
}
